package xyz.showbooks.service;


import xyz.dfm.pojo.User;
import xyz.dfm.util.JsonResult;
import xyz.dfm.vo.PageResult;

import java.util.List;

/**
 * @author: Dsi
 * @date: 2022/2/12 14:46
 * @description:
 */
public interface UserService {
    User findUserById(Integer id);

    List<User> findUserByName(String name, Integer start, Integer size);

//    JsonResult updateStatus(Integer userId,Integer status);

    List<User> findUserByNumber(String number, Integer start, Integer size);

    List<User> findUserByStatus(String status, Integer start, Integer size);



    void updateUser(User user);

}
